<html>
<head>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script type="text/javascript">

$.ajaxSetup({ cache: false });

function loadajax() {
$('#data').empty();	
		$.getJSON("getdata.php",function(data){
			$.each( data, function( key, value ) {	
				$('#data').append(value["DATE"] + "&nbsp" + value["UID"] + "<br />");
			});		
		});
	setTimeout("loadajax()",1000);
}
$(document).ready(function()
{
loadajax();	
});

</script>
</head>
<body>
<div id="data"></div>
</body>
</html>